**********************
*Compiling a new item*
**********************

To compile items put umitems.inc file (included in the package) to includes directory (.../amxmodx/scripting/include)

*********************
*Creating a new item*
*********************

#include <amxmodx>
#include <amxmodx>
#include <umitem> //include file

new PLUGIN_NAME[] 	= "UM Item: Example"
new PLUGIN_AUTHOR[] 	= "Author"
new PLUGIN_VERSION[] 	= "1.0"

new bool:g_Example[33] 
public plugin_init() 
{
	register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
		       //item name  item description, item cost   
	register_item("Example", "This is an example item", 0) 

}

public client_connect(id) {
	g_Example[id] = false
}

public Enable_Item(id) // You must have this for every item. This function will enable the item the user is buying
{
	g_Example[id] = true
	say_example(id)
}


public Disable_Item(id) // You must have this for every item. This function will disable the item the user is buying
{
	g_Example[id] = false
}

public say_example(id)
{
	if(g_Example[id]) {
		client_print(id, print_chat, "Example test ok")
	}
	return PLUGIN_CONTINUE
}